@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/user_info.css?v=20200718" rel="stylesheet">
<div style="height: 100%" id="userInfoForm">
	<div style="display: none">
		<input type="hidden" id="id" value="${role.id}">
		<input type="hidden" id="phonePrivilegesValue" value="${role.phonePrivileges}">
		<input type="hidden" id="phonePrivilegesexpValue" value="${role.phonePrivilegesexp}">
		<input type="hidden" id="pid" value="">
		<input type="hidden" id="deptid" value="">
	</div>
	<div style="background: #6090b8;color: white;padding: 5px 10px;">修改角色</div>
	<div class="userBox">
		<div>
			<div>
				<span>角色名称 </span>
				<input autocomplete="off" id="name" value="${role.name}"/>
			</div>
			<div>
				<span>上级名称 </span>
				<input autocomplete="off" id="pName" value="${pName}" onclick="RolInfoDlg.showPNameSelectTree(); return false;" readonly="readonly" style="background-color: #ffffff !important;"/>
			</div>
			<div>
				<span>部门名称 </span>
				<input autocomplete="off" id="deptName" value="${deptName}" onclick="RolInfoDlg.showDeptSelectTree(); return false;" readonly="readonly" style="background-color: #ffffff !important;"/>
			</div>
		</div>
		<div>
			<div>
				<span>别名 </span>
				<input autocomplete="off" type="text" id="tips" value="${role.tips}"/>
			</div>
			<div>
				<span>排序 </span>
				<input autocomplete="off" type="text" id="num" value="${role.num}"/>
			</div>
			<div>
				<span>列表是否可看手机号 </span>
				<select id="phonePrivileges">
					<option value="1">可以</option>
					<option value="2">不可以</option>
				</select>
			</div>
			<div>
				<span>是否可导出手机号 </span>
				<select id="phonePrivilegesexp">
					<option value="1">可以</option>
					<option value="2">不可以</option>
				</select>
			</div>
		</div>
	</div>
	<!-- 这是部门下拉框 -->
	<div id="deptContent" class="menuContent"
		 style="display: none; position: absolute; z-index: 200;">
		<ul id="deptTree" class="ztree tree-box" style="width: 250px !important;"></ul>
	</div>
	<!-- 这是父级菜单下拉框 -->
	<div id="pNameContent" class="menuContent"
		 style="display: none; position: absolute; z-index: 200;">
		<ul id="pNameTree" class="ztree tree-box" style="width: 250px !important;"></ul>
	</div>
	<div class="btnBox">
		<button type="button" class="btn" id="ensure" onclick="RolInfoDlg.editSubmit()">提交</button>
		<button type="button" class="btn" id="cancel" onclick="RolInfoDlg.close()">取消</button>
	</div>
</div>
<script src="${ctxPath}/static/modular/system/role/role_info.js?v=20200202"></script>
@}